package com.ku.order.client;


import com.ku.order.client.impl.UserApiClientImpl;
import com.ku.order.config.feign.FeignSupportConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "user-service",fallback = UserApiClientImpl.class,configuration = FeignSupportConfig.class)
public interface UserApiClient {

    @RequestMapping(value = "api/user/index",method = RequestMethod.GET)
    public String index();
}
